package com.ruoyi.profession.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 奖项信息对象 awards
 * 
 * @author ruoyi
 * @date 2024-06-01
 */
public class Awards extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 基本信息ID（外键） */
    @Excel(name = "基本信息ID", readConverterExp = "外=键")
    private Long basicInfoId;

    /** 奖项级别 */
    @Excel(name = "奖项级别")
    private String awardLevel;

    /** 奖项名称 */
    @Excel(name = "奖项名称")
    private String awardName;

    /** 颁奖单位 */
    @Excel(name = "颁奖单位")
    private String awardIssuer;

    /** 时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date awardTime;

    /** PDF附件 */
    @Excel(name = "PDF附件")
    private String awardAttachment;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBasicInfoId(Long basicInfoId) 
    {
        this.basicInfoId = basicInfoId;
    }

    public Long getBasicInfoId() 
    {
        return basicInfoId;
    }
    public void setAwardLevel(String awardLevel) 
    {
        this.awardLevel = awardLevel;
    }

    public String getAwardLevel() 
    {
        return awardLevel;
    }
    public void setAwardName(String awardName) 
    {
        this.awardName = awardName;
    }

    public String getAwardName() 
    {
        return awardName;
    }
    public void setAwardIssuer(String awardIssuer) 
    {
        this.awardIssuer = awardIssuer;
    }

    public String getAwardIssuer() 
    {
        return awardIssuer;
    }
    public void setAwardTime(Date awardTime) 
    {
        this.awardTime = awardTime;
    }

    public Date getAwardTime() 
    {
        return awardTime;
    }
    public void setAwardAttachment(String awardAttachment) 
    {
        this.awardAttachment = awardAttachment;
    }

    public String getAwardAttachment() 
    {
        return awardAttachment;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("basicInfoId", getBasicInfoId())
            .append("awardLevel", getAwardLevel())
            .append("awardName", getAwardName())
            .append("awardIssuer", getAwardIssuer())
            .append("awardTime", getAwardTime())
            .append("awardAttachment", getAwardAttachment())
            .toString();
    }
}
